const _paths = require('deepdash/paths')

let paths = _paths({
  a: {
    b: {
      c: [1, 2, 3],
      "hello world":{}
    },
  },
},{ leavesOnly: false });

console.log(paths);

paths = _paths({
  a: {
    b: {
      c: [1, 2, 3],
      "hello world":{}
    },
  },
});
console.log(paths);
